﻿using System;
using System.Net;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DiscoveryLogic.UI.Layouts.Converters
{
    public class Formatter
    {
        public static string ToCurrency(int value)
        {
            return value.ToString("C", Thread.CurrentThread.CurrentCulture);
        }

        public static string ToCurrency(double value)
        {
            return value.ToString("C", Thread.CurrentThread.CurrentCulture);
        }

        public static string ToPercentage(double value)
        {
            return value.ToString("P", Thread.CurrentThread.CurrentCulture);
        }
    }
}
